let Model = require("../model/message_model")

class MessageController {
    Add(data, callback) {
        let m = new Model()
        m.Add(data,callback)
    }

    Remove(data, callback) {
        let m = new Model()
        m.Remove(data,callback)
    }

    Update(data, callback) {
        let m = new Model()
        m.List(data,callback)
    }

    List(data, callback) {
        let m = new Model()
        m.List(data,callback)
    }

    Detail(data, callback) {
        let m = new Model()
        m.Detail(data,callback)
    }

}

module.exports = MessageController